findFragmentDefinitions

fun findFragmentDefinitions(graphqlContent: String): Set<String>

Finds all defined fragments, which are usually found after a query. A set of all unique fragment names is returned.